package com.lich.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.lich.entity.AccessLog;
import com.lich.entity.vo.Page;

@Repository
public interface AccessLogMapper {

	
	public void insert(AccessLog accessLog);
	
	/**
	 * 
	 * @param params   (ip,begin(起始时间),end(结束时间)) 
	 * @return
	 */
	public List<AccessLog> findByIp(Map<String, Object> params);
	
	
	public long getIPCount(Map<String, Object> params);
	
	
	List< AccessLog> list(Page<AccessLog> page);
	
	int count();
	

}
